package com.xpec.c4.db.log;

import com.xpec.c4.db.model.log.basic.BasicLogModel;
import com.xpec.c4.service.ioc.IocContainer;

/**
 * 创建日志对象的类
 * 
 * @author zhongzhengkai 2012-5-29
 */
public class LogCreator {

	public static final <T extends BasicLogModel> T createLog(Class<T> clazz) {
		T log = IocContainer.createObject(clazz);
		return log;
	}

}
